//
//  ShopTabScrollView.h
//  TestPrj
//
//  Created by 朱铅峰 on 2020/6/22.
//  Copyright © 2020 Xing. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ShopTabScrollViewDelegate <NSObject>

@optional

//监听列表滚动视图的偏移量
- (void)ShopTabScrollViewDidScroll:(UIScrollView *)scrollView;

//偏移结束后
- (void)ShopTabScrollViewEndDragging:(UIScrollView *)scrollView;

//点击顶部视图  让该视图平移向下消失
- (void)ShopTabScrollViewDropDown:(UIScrollView *)scrollView;

@end

@interface ShopTabScrollView : UIScrollView

//是否显示动画;
@property (nonatomic ,assign) BOOL isStopAnimation;
//申明代理
@property (weak , nonatomic) id<ShopTabScrollViewDelegate> scrollDelegate;
//移除手势
- (void)removeBehaviors;

@end

